[Unit]
Description=Redis Cluster Node (Port {{ redis_port }})
After=network.target

[Service]
Type=notify
User=redis
Group=redis
ExecStart=/usr/local/redis/bin/redis-server {{ redis_conf_dir }}/{{ redis_port }}.conf --supervised systemd
ExecStop=/usr/local/redis/bin/redis-cli -h 127.0.0.1 -p {{ redis_port }} -a {{ redis_password }} shutdown
Restart=always
RestartSec=5
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target
